//
//  ImageCell.h
//  quickBatchManager
//
//  Created by jack on 15/9/16.
//  Copyright (c) 2015年 jack. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EditProductViewController.h"
@protocol ImageCellDelegate <NSObject>
-(void)imageDragToGoodView:(id)sender addProductModel:(ProductModel *)addProductModel;
@end

@interface ImageCell : UICollectionViewCell<UIGestureRecognizerDelegate>
{
    id mData;
}
@property(weak,nonatomic) IBOutlet UIView *contentView;
@property(weak,nonatomic) IBOutlet UIView *editView;
@property (weak, nonatomic) IBOutlet UIImageView *editBtn;
@property (weak, nonatomic) IBOutlet UIImageView *deleteBtn;
@property (strong, nonatomic) BaseViewController  *parentVC;

@property(weak,nonatomic) IBOutlet UILabel *productNumberLabel;
@property(weak,nonatomic) IBOutlet UILabel *priceLabel;
@property(weak,nonatomic) IBOutlet UIImageView *productImageView;
@property(strong,nonatomic) UIView *dragView;
@property(strong,nonatomic) UIView *mSuperView;
@property(strong,nonatomic) UIView *goodView;
@property BOOL isDrag;
-(void)setData:(id)data;

@property(assign,nonatomic) id<ImageCellDelegate> delegate;
@end
